package com.yh.doing.state_pattern.file;

/**
 * @program: design-patterns
 * @description: ${description}
 * @author: yangh0597@163.com
 * @date: 2021-03-11 23:31
 * @problem:
 **/
public abstract class FileState {


    protected Context context;

    public void setContext(Context context) {
        this.context = context;
    }



    public abstract void updateFile();
    public abstract void delete();
    public abstract void select();
    public abstract void 锁定();
    public abstract void 取消锁定();
    public abstract void 完全锁定();
}
